import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {WmsStockDetailComponent} from './wms-stock-detail.component';

const routes: Routes = [
    {path: '', component: WmsStockDetailComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-wms-stock-detail/add-wms-stock-detail.module#AddWmsStockDetailModule'},
            {path: 'list', loadChildren: './list-wms-stock-detail/list-wms-stock-detail.module#ListWmsStockDetailModule'},
            {path: 'modify', loadChildren: './modify-wms-stock-detail/modify-wms-stock-detail.module#ModifyWmsStockDetailModule'},
            {path: 'report', loadChildren: './report-wms-stock-detail/report-wms-stock-detail.module#ReportWmsStockDetailModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class WmsStockDetailRoutingModule {
}
